import cache from './modules/cache'
import cookie from './modules/cookie'
import modal from './modules/modal'
import { setupElementPlus } from './modules/element'
export function setupPlugins(app) {
    // element-plus
    setupElementPlus(app)
    // 缓存对象
    app.config.globalProperties.$cache = cache
    window.$cache = cache
    // cookie对象
    app.config.globalProperties.$cookie = cookie
    window.$cookie = cookie

    // 模态框对象
    app.config.globalProperties.$modal = modal
    window.$modal = modal


}
